Solution of Differential Equation by charpit's method